package com.upcode.weighing.vo.req.pay;

import java.io.Serializable;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

public class RefundRequestVo implements Serializable{

    /**
     * 商户订单号
     */
    @NotEmpty(message = "商户订单号不能为空")
    private String outTradeNo;

    @NotNull(message = "订单总金额不能为空")
    private Integer totalFee;
    
    @NotNull(message = "退款金额不能为空")
    private Integer refundFee;
    //退款类型
    private Integer type;

    /**
     * 退款原因
     */
    private String refundDesc;
    /**
     * 退款单号
     */
    private String outRefundNo;
    /**
     * 退费回调地址
     */
    private String refundNotifyUrl;

    public String getOutTradeNo() {
        return outTradeNo;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public Integer getTotalFee() {
        return totalFee;
    }

    public void setTotalFee(Integer totalFee) {
        this.totalFee = totalFee;
    }

    public Integer getRefundFee() {
        return refundFee;
    }

    public void setRefundFee(Integer refundFee) {
        this.refundFee = refundFee;
    }

    public String getRefundDesc() {
        return refundDesc;
    }

    public void setRefundDesc(String refundDesc) {
        this.refundDesc = refundDesc;
    }

//    public String getBizType() {
//        return bizType;
//    }
//
//    public void setBizType(String bizType) {
//        this.bizType = bizType;
//    }

//    public String getUid() {
//        return uid;
//    }
//
//    public void setUid(String uid) {
//        this.uid = uid;
//    }

    public String getOutRefundNo() {
        return outRefundNo;
    }

    public void setOutRefundNo(String outRefundNo) {
        this.outRefundNo = outRefundNo;
    }

    @Override
    public String toString() {
        return "RefundRequestVo{" +
                "outTradeNo='" + outTradeNo + '\'' +
                ", totalFee=" + totalFee +
                ", refundFee=" + refundFee +
                ", type=" + type +
                ", refundDesc='" + refundDesc + '\'' +
                ", outRefundNo='" + outRefundNo + '\'' +
                ", refundNotifyUrl='" + refundNotifyUrl + '\'' +
                '}';
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getRefundNotifyUrl() {
        return refundNotifyUrl;
    }

    public void setRefundNotifyUrl(String refundNotifyUrl) {
        this.refundNotifyUrl = refundNotifyUrl;
    }
}
